package com.dhcc.cdbp.orika;

import java.util.UUID;

import ma.glasnost.orika.CustomConverter;
import ma.glasnost.orika.metadata.Type;

public class UuidToIdConverter extends CustomConverter<String, String>{

	@Override
	public String convert(String source, Type<? extends String> destinationType) {
		return UUID.randomUUID().toString().replace("-", "");
	}

}
